package com.yykj.hospital.server.dto.banci;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yykj.common.util.serializer.LocalTime2StringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalTime;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SettingImportDTO {

    @ApiModelProperty("错误信息")
    private String errorMsg = "";
    @ApiModelProperty("错误行号")
    private Integer rowNum;

    @Excel(name = "工号", width = 50)
    @ApiModelProperty("工号")
    private String jobNum;

    @Excel(name = "姓名", width = 50)
    @ApiModelProperty("姓名")
    private String doctorName;

    @Excel(name = "科室", width = 50)
    @ApiModelProperty("科室")
    private String depName;

    @Excel(name = "号源", width = 50)
    @ApiModelProperty("号源")
    private Integer appointment;

    @Excel(name = "出诊级别", width = 50)
    @ApiModelProperty("出诊级别")
    private String levelName;

    private Integer levelId;

    @Excel(name = "视频问诊", width = 50)
    @ApiModelProperty("视频问诊")
    private Integer video;

    @Excel(name = "语音问诊", width = 50)
    @ApiModelProperty("语音问诊")
    private Integer voice;

    @Excel(name = "图文问诊", width = 50)
    @ApiModelProperty("图文问诊")
    private Integer pic;

    private String doctorId;

    private Integer depId;

    private String py;

    private String wb;

    private Integer banCiId;

    private String banCiName;

    @Excel(name = "班次")
    @ApiModelProperty("班次")
    private String banCiTime;

    @Excel(name = "班次编号")
    @ApiModelProperty("班次编号")
    private String banCiCode;

    @JsonSerialize(using = LocalTime2StringSerializer.class)
    private LocalTime startTime;

    @JsonSerialize(using = LocalTime2StringSerializer.class)
    private LocalTime endTime;

}
